[#include "/WEB-INF/pages/common/taglibs.ftl"]
	<div class="tableoptions">
		<form action="[@c.url value='/manage/Category_list.action'][/@c.url]" name="channelForm" method="get" class="">
			<a href="[@c.url value='/manage/Category_create.action?channelId=${channelId}&pid=${id}'/]" class="radius3"><span>新&nbsp;&nbsp;&nbsp;&nbsp;建</span></a>
        	<button tableid='memberListTable' title="删除所选" class="deletebutton radius3">删除所选</button> &nbsp;
			<select name="channelId" id="channelSelect" class="radius3">
				[#list channelList as c]
					<option value="${c.id}" [#if channelId == c.id]selected='selected'[/#if]>${c.title}</option>
				[/#list]
			</select> <button class="radius3">查看</button>
		</form>
    </div>
	<div>
		[@demo.tableDisplayer id="id" renderTo="${renderTo}" ajaxPage="true" property="categoryList" pagesize=4 page="/manage/Category_list.action?channelId=${channelId}&id=${id}" name="FreemarkerTable" config="/WEB-INF/component/table/template-stdtable-sort.ftl" bundle="messageSource" onLoad="base.init();"]
			[@demo.column name="id" property="id" innerHtml="\lspan class='checkbox'\g\linput type='checkbox'/\g\l/span\g" headHtml="\lspan class='checkbox'\g\linput type='checkbox' class='checkall' /\g\l/span\g" footHtml="&nbsp;" title="ID" columnClass="center span-atom"/]
			[@demo.column name="id" property="id" title="ID" columnClass="center span-atom" sortable="true"/]
			[@demo.column name="name" property="name" title="名称" columnClass="span2" sortable="true"/]
			[@demo.column name="title" property="title" title="标题" sortable="true"/]
			[#--[@demo.column name="keyWords" property="keyWords" title="关键字" columnClass="span2"/]--]
			[@demo.column name="path" property="i18n" title="语言" columnClass="span1" sortable="true"/]
			[@demo.column name="isDraft" property="draft" format="草稿:发布" title="状态" columnClass="center span-tiny" sortable="true"/]
			[@demo.column name="isPermission" property="permission" format="开放:授权" title="许可" columnClass="center span-tiny" sortable="true"/]
			[@demo.column name="enabled" property="enabled" format="可用:禁用" title="状态" columnClass="center span-tiny" sortable="true"/>
			[@demo.column name="operate" property="id" title="操作" innerHtml="\la href='javascript:void(0);' act='edit' \g编辑\l/a\g&nbsp;|&nbsp;\la href='javascript:void(0);' act='delete' \g删除\l/a\g" headerClass="batch" columnClass="span1" /]
		[/@demo.tableDisplayer]
	</div>
    <div id="delete-confirm" style="display:none" title="栏目删除">
		<p>栏目删除后将无法恢复.您确认删除吗？</p>
	</div>

	

